//
//  MyLeftRightMovingButton.h
//  CanYouDoIt
//
//  Created by hoangtx on 7/19/13.
//
//

#ifndef CanYouDoIt_MyLeftRightMovingButton_h
#define CanYouDoIt_MyLeftRightMovingButton_h

#include "MySpriteButton.h"
using namespace cocos2d;
class MyLeftRightMovingButton : public MySpriteButton{
public:
    double velocity;
    CCPoint originalPosition;
    void handleUpdate(float dt);
    void goBackToOriginal();
    void changeDirection();
    virtual bool init();
    CREATE_FUNC(MyLeftRightMovingButton);
};


#endif
